package com.tiansheng.microservice.mgb.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class TCauser implements Serializable {
    private Integer userid;

    @ApiModelProperty(value = "用户状态(1:启用, 0:停用)")
    private Integer state;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "用户登录名")
    private String code;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "用户类型(1:单位用户,0:财政用户)")
    private String usertype;

    @ApiModelProperty(value = "处室主键")
    private Integer divisionguid;

    @ApiModelProperty(value = "隶属处室名称")
    private String divisionname;

    @ApiModelProperty(value = "单位主键")
    private Integer enterguid;

    @ApiModelProperty(value = "行政区划编码")
    private String fRegicode;

    @ApiModelProperty(value = "行政区划名称")
    private String fReginame;

    @ApiModelProperty(value = "用户登录类型")
    private String logintype;

    @ApiModelProperty(value = "权限认证类型(1:用户名密码,2:UK,3:CA)")
    private String authtype;

    @ApiModelProperty(value = "UKEY值")
    private String ukeyvalue;

    @ApiModelProperty(value = "性别")
    private String sexcode;

    @ApiModelProperty(value = "所属单位财政唯一ID")
    private Integer financeid;

    @ApiModelProperty(value = "财政ISBNCODE")
    private String isbncode;

    @ApiModelProperty(value = "父用户主键")
    private Integer managerid;

    @ApiModelProperty(value = "过期时间")
    private Date overduedate;

    @ApiModelProperty(value = "用户类型(0:普通用户,1:管理用户,2:超级用户)")
    private Integer type;

    @ApiModelProperty(value = "手机号码")
    private String mobiphone;

    @ApiModelProperty(value = "电话号码")
    private String phoneno;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "主键层码")
    private String inCode;

    @ApiModelProperty(value = "用户令牌")
    private String usertoken;

    @ApiModelProperty(value = "级次")
    private Integer levelNum;

    @ApiModelProperty(value = "是否叶子节点(1:是,0:否")
    private Integer isleaf;

    @ApiModelProperty(value = "本级显示顺序")
    private String dorder;

    @ApiModelProperty(value = "身份证号")
    private String idnumber;

    @ApiModelProperty(value = "CA到期日期")
    private Date notbefore;

    @ApiModelProperty(value = "有效天数")
    private String validatedays;

    @ApiModelProperty(value = "证书类型")
    private String certtype;

    @ApiModelProperty(value = "是否申请  0:未申请  1:已申请 2:已下载 3:待更新  4:待注销")
    private String isapply;

    @ApiModelProperty(value = "CA授权码")
    private String refcode;

    @ApiModelProperty(value = "UK编号")
    private String ukid;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    private static final long serialVersionUID = 1L;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public Integer getDivisionguid() {
        return divisionguid;
    }

    public void setDivisionguid(Integer divisionguid) {
        this.divisionguid = divisionguid;
    }

    public String getDivisionname() {
        return divisionname;
    }

    public void setDivisionname(String divisionname) {
        this.divisionname = divisionname;
    }

    public Integer getEnterguid() {
        return enterguid;
    }

    public void setEnterguid(Integer enterguid) {
        this.enterguid = enterguid;
    }

    public String getfRegicode() {
        return fRegicode;
    }

    public void setfRegicode(String fRegicode) {
        this.fRegicode = fRegicode;
    }

    public String getfReginame() {
        return fReginame;
    }

    public void setfReginame(String fReginame) {
        this.fReginame = fReginame;
    }

    public String getLogintype() {
        return logintype;
    }

    public void setLogintype(String logintype) {
        this.logintype = logintype;
    }

    public String getAuthtype() {
        return authtype;
    }

    public void setAuthtype(String authtype) {
        this.authtype = authtype;
    }

    public String getUkeyvalue() {
        return ukeyvalue;
    }

    public void setUkeyvalue(String ukeyvalue) {
        this.ukeyvalue = ukeyvalue;
    }

    public String getSexcode() {
        return sexcode;
    }

    public void setSexcode(String sexcode) {
        this.sexcode = sexcode;
    }

    public Integer getFinanceid() {
        return financeid;
    }

    public void setFinanceid(Integer financeid) {
        this.financeid = financeid;
    }

    public String getIsbncode() {
        return isbncode;
    }

    public void setIsbncode(String isbncode) {
        this.isbncode = isbncode;
    }

    public Integer getManagerid() {
        return managerid;
    }

    public void setManagerid(Integer managerid) {
        this.managerid = managerid;
    }

    public Date getOverduedate() {
        return overduedate;
    }

    public void setOverduedate(Date overduedate) {
        this.overduedate = overduedate;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMobiphone() {
        return mobiphone;
    }

    public void setMobiphone(String mobiphone) {
        this.mobiphone = mobiphone;
    }

    public String getPhoneno() {
        return phoneno;
    }

    public void setPhoneno(String phoneno) {
        this.phoneno = phoneno;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getInCode() {
        return inCode;
    }

    public void setInCode(String inCode) {
        this.inCode = inCode;
    }

    public String getUsertoken() {
        return usertoken;
    }

    public void setUsertoken(String usertoken) {
        this.usertoken = usertoken;
    }

    public Integer getLevelNum() {
        return levelNum;
    }

    public void setLevelNum(Integer levelNum) {
        this.levelNum = levelNum;
    }

    public Integer getIsleaf() {
        return isleaf;
    }

    public void setIsleaf(Integer isleaf) {
        this.isleaf = isleaf;
    }

    public String getDorder() {
        return dorder;
    }

    public void setDorder(String dorder) {
        this.dorder = dorder;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public Date getNotbefore() {
        return notbefore;
    }

    public void setNotbefore(Date notbefore) {
        this.notbefore = notbefore;
    }

    public String getValidatedays() {
        return validatedays;
    }

    public void setValidatedays(String validatedays) {
        this.validatedays = validatedays;
    }

    public String getCerttype() {
        return certtype;
    }

    public void setCerttype(String certtype) {
        this.certtype = certtype;
    }

    public String getIsapply() {
        return isapply;
    }

    public void setIsapply(String isapply) {
        this.isapply = isapply;
    }

    public String getRefcode() {
        return refcode;
    }

    public void setRefcode(String refcode) {
        this.refcode = refcode;
    }

    public String getUkid() {
        return ukid;
    }

    public void setUkid(String ukid) {
        this.ukid = ukid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userid=").append(userid);
        sb.append(", state=").append(state);
        sb.append(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", password=").append(password);
        sb.append(", usertype=").append(usertype);
        sb.append(", divisionguid=").append(divisionguid);
        sb.append(", divisionname=").append(divisionname);
        sb.append(", enterguid=").append(enterguid);
        sb.append(", fRegicode=").append(fRegicode);
        sb.append(", fReginame=").append(fReginame);
        sb.append(", logintype=").append(logintype);
        sb.append(", authtype=").append(authtype);
        sb.append(", ukeyvalue=").append(ukeyvalue);
        sb.append(", sexcode=").append(sexcode);
        sb.append(", financeid=").append(financeid);
        sb.append(", isbncode=").append(isbncode);
        sb.append(", managerid=").append(managerid);
        sb.append(", overduedate=").append(overduedate);
        sb.append(", type=").append(type);
        sb.append(", mobiphone=").append(mobiphone);
        sb.append(", phoneno=").append(phoneno);
        sb.append(", address=").append(address);
        sb.append(", inCode=").append(inCode);
        sb.append(", usertoken=").append(usertoken);
        sb.append(", levelNum=").append(levelNum);
        sb.append(", isleaf=").append(isleaf);
        sb.append(", dorder=").append(dorder);
        sb.append(", idnumber=").append(idnumber);
        sb.append(", notbefore=").append(notbefore);
        sb.append(", validatedays=").append(validatedays);
        sb.append(", certtype=").append(certtype);
        sb.append(", isapply=").append(isapply);
        sb.append(", refcode=").append(refcode);
        sb.append(", ukid=").append(ukid);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append(", createUser=").append(createUser);
        sb.append(", updateUser=").append(updateUser);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}